#ifndef __ADC_APP_H__
#define __ADC_APP_H__

#include "sys_bsp.h"


#define ADC_Collection_TIME			 2000

#define ADC_TASK_STACK_SIZE      512
#define ADC_STORAGE_TASK_PRIORITY (osPriority_t) osPriorityNormal1

extern osThreadId_t 				adc_TaskHandle;
extern const osThreadAttr_t adc_Task_attributes;
void adc_Task(void *argument);


/*	Little-endian order	*/

/* Hardware IO Mapping Table:
 * PA0_IN0  -> adc_data[0]
 * PA1_IN1  -> adc_data[1] 
 * PA2_IN2  -> adc_data[2]
 * PA3_IN3  -> adc_data[3]
 * PA4_IN4  -> adc_data[4]
 * PA5_IN5  -> adc_data[5]
 * PA6_IN6  -> adc_data[6]
 * PA7_IN7  -> adc_data[7]
 * PB0_IN8  -> adc_data[8]
 * PB1_IN9  -> adc_data[9]
 * PC0_IN10 -> adc_data[10]
 * PC1_IN11 -> adc_data[11]
 * PC2_IN12 -> adc_data[12]
 * PC3_IN13 -> adc_data[13]
 * PC4_IN14 -> adc_data[14]
 * PC5_IN15 -> adc_data[15]
*/



#endif
